<html>
<head>
<script language="javascript">
location.replace("newslettershow.php")

</script>
</head>
<body>
		
<?php
$con = mysql_connect("localhost","appma" ,"database");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }

	mysql_select_db("162_appma", $con);

$update = mysql_query("DELETE FROM newsletter WHERE Email = '$_POST[email]'");
		if (!$update)
{
echo "not deleted";
}
mysql_close($con);
?> 


</body>
  </html>                    
                 
